package com.rui.iterator.model;

/**
 * @Description: 容器接口
 * @Author: ZhangRui
 * @Date: 2023/3/3 16:44
 * @Version: 1.0
 */
public interface Aggregate<T> {

    void add(T t);

    void remove(T t);

    Iterator<T> iterator();
}